package com.fangyi.yunmusic.mapper;

import com.fangyi.yunmusic.pojo.Album;
import com.fangyi.yunmusic.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlbumMapper extends MyMapper<Album> {
    public List<Album> selectAlbumByIds(@Param("ids") List<String> ids);

    public Integer getAlbumCount();
    int insert(Album album);

    int insertSelective(Album album);

    int deleteByPrimaryKey(Object o);

    int updateByPrimaryKey(Album album);

    int updateByPrimaryKeySelective(Album album);
}